﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BusinessObjects.BO_GetObjects;

public partial class Controls_TopSlide : Base_Controls
{
    protected void Page_Load(object sender, EventArgs e)
    {
        base.setField(Convert.ToInt32(this.Attributes["ID"]));
        LoadData();
    }
    //load data
    public void LoadData()
    {
        int lang = 0;
        if (base.Lang)
        {
            lang = 1;
        }
        base.bindRepeater(rptData, BO_portal_articles.SelectLangByModule(Mid, base.PSize, lang));
    }

}